package com.gome.ocean.server.service;

import com.gome.ocean.dao.model.cango.CangoInstances;
import com.gome.ocean.dao.model.cango.CangoResponseVO;

/**
 * @author zhangguoqing 2017年2月15日 下午5:23:42
 * @since 5.0.0
 */
public interface ICangoManagerService {

    public CangoResponseVO start(String instanceName);

    public CangoResponseVO add(CangoInstances instance);

    public CangoResponseVO stop(String instanceName);

    public CangoResponseVO enable(String instanceName);

    public CangoResponseVO disable(String instanceName);

    public CangoResponseVO check(String instanceName);

    public CangoResponseVO deleteByInstanceName(String instanceName);

    public CangoResponseVO updateCangoInce(CangoInstances instances);

    public CangoResponseVO startAll();

    public CangoResponseVO stopAll();

    public CangoResponseVO shutdown();

    public CangoResponseVO clearAll();
}
